package com.gcloud.header.api.model;

import java.io.Serializable;
import java.util.List;

import com.gcloud.header.identity.role.model.RoleResourceRightItem;
/**
Copyright (c) [2020] [G-CLOUD TECHNOLOGY] [G-Cloud 8.0] is licensed under the Mulan PSL v1.
You can use this software according to the terms and conditions of the Mulan PSL v1. You may obtain
a copy of Mulan PSL v1 at: http://license.coscl.org.cn/MulanPSL THIS SOFTWARE IS PROVIDED ON AN 
"AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v1 for more details.
 */


public class CurrentUser implements Serializable {
	private static final long             serialVersionUID = 1L;

    private String                          id;
    private String                        loginName;
    private String                        realName;
    private String                        email;
    private String                        mobile;
    private String role;
    private String defaultTenant;
    private List<String> userTenants;
    private String tokenId;
    private RoleResourceRightItem resourceRight;
    
    public CurrentUser() {}
    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getDefaultTenant() {
		return defaultTenant;
	}
	public void setDefaultTenant(String defaultTenant) {
		this.defaultTenant = defaultTenant;
	}
	public List<String> getUserTenants() {
		return userTenants;
	}
	public void setUserTenants(List<String> userTenants) {
		this.userTenants = userTenants;
	}

	public String getTokenId() {
		return tokenId;
	}

	public void setTokenId(String tokenId) {
		this.tokenId = tokenId;
	}

	public RoleResourceRightItem getResourceRight() {
		return resourceRight;
	}

	public void setResourceRight(RoleResourceRightItem resourceRight) {
		this.resourceRight = resourceRight;
	}
}